package com.itheima.service;

import com.itheima.pojo.HmArticles;
import com.itheima.util.PageResult;

import java.text.ParseException;
import java.util.List;

public interface ArticlesService {
    PageResult findPage(Integer page, Integer pagesize, String keyword, Integer state) throws ParseException;

    Integer add(HmArticles hmArticles,String s);

    boolean Update(Integer id, Integer state);

    boolean delete(Integer id);

    boolean updateWen(Integer id, HmArticles hmArticles);

    HmArticles find(Integer id);
}
